package com.gitee.smalllog.core.model;

import lombok.Data;

public class Settings {
	private String appName;
	private String index;
	private String type;
	private String evn;
	private String loggerName;
	private String errorLoggerName;
	private String redisHost;
	private int redisPort;
	private int threadPoolSize;
	private String redisAuth;
	private int redisDb = 0;
	private int maxRetries = 3;
	private boolean logsToStderr;
	private boolean includeCallerData;
	private boolean includeMdc;
	private boolean rawJsonMessage;
	private int maxQueueSize = 100 * 1024 * 1024;
	private int maxMessageSize = -1;
	private boolean compressor;

	public String getAppName() {
		return appName;
	}

	public void setAppName(String appName) {
		this.appName = appName;
	}

	public String getIndex() {
		return index;
	}

	public void setIndex(String index) {
		this.index = index;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getEvn() {
		return evn;
	}

	public void setEvn(String evn) {
		this.evn = evn;
	}

	public String getLoggerName() {
		return loggerName;
	}

	public void setLoggerName(String loggerName) {
		this.loggerName = loggerName;
	}

	public String getErrorLoggerName() {
		return errorLoggerName;
	}

	public void setErrorLoggerName(String errorLoggerName) {
		this.errorLoggerName = errorLoggerName;
	}

	public String getRedisHost() {
		return redisHost;
	}

	public void setRedisHost(String redisHost) {
		this.redisHost = redisHost;
	}

	public int getRedisPort() {
		return redisPort;
	}

	public void setRedisPort(int redisPort) {
		this.redisPort = redisPort;
	}

	public int getThreadPoolSize() {
		return threadPoolSize;
	}

	public void setThreadPoolSize(int threadPoolSize) {
		this.threadPoolSize = threadPoolSize;
	}

	public String getRedisAuth() {
		return redisAuth;
	}

	public void setRedisAuth(String redisAuth) {
		this.redisAuth = redisAuth;
	}

	public int getRedisDb() {
		return redisDb;
	}

	public void setRedisDb(int redisDb) {
		this.redisDb = redisDb;
	}

	public int getMaxRetries() {
		return maxRetries;
	}

	public void setMaxRetries(int maxRetries) {
		this.maxRetries = maxRetries;
	}

	public boolean isLogsToStderr() {
		return logsToStderr;
	}

	public void setLogsToStderr(boolean logsToStderr) {
		this.logsToStderr = logsToStderr;
	}

	public boolean isIncludeCallerData() {
		return includeCallerData;
	}

	public void setIncludeCallerData(boolean includeCallerData) {
		this.includeCallerData = includeCallerData;
	}

	public boolean isIncludeMdc() {
		return includeMdc;
	}

	public void setIncludeMdc(boolean includeMdc) {
		this.includeMdc = includeMdc;
	}

	public boolean isRawJsonMessage() {
		return rawJsonMessage;
	}

	public void setRawJsonMessage(boolean rawJsonMessage) {
		this.rawJsonMessage = rawJsonMessage;
	}

	public int getMaxQueueSize() {
		return maxQueueSize;
	}

	public void setMaxQueueSize(int maxQueueSize) {
		this.maxQueueSize = maxQueueSize;
	}

	public int getMaxMessageSize() {
		return maxMessageSize;
	}

	public void setMaxMessageSize(int maxMessageSize) {
		this.maxMessageSize = maxMessageSize;
	}

	public boolean isCompressor() {
		return compressor;
	}

	public void setCompressor(boolean compressor) {
		this.compressor = compressor;
	}
}
